How do i retrieve the value of Password input field so that i can use this value to pass it to anoth